REM Environment setup script

SET WEB_CRAWLER_HOME=%1

REM Add jars to the classpath
SET WEB_CRAWLER_LIB_DIR=%WEB_CRAWLER_HOME%\lib
CALL %WEB_CRAWLER_HOME%\bin\set-classpath.bat %WEB_CRAWLER_LIB_DIR%
SET WEB_CRAWLER_CLASSPATH=%WEB_CRAWLER_APP_CLASSPATH%

REM Add config files to the classpath
SET WEB_CRAWLER_CONFIG_DIR=%WEB_CRAWLER_HOME%\config
SET WEB_CRAWLER_CLASSPATH=%WEB_CRAWLER_CLASSPATH%;%WEB_CRAWLER_CONFIG_DIR%